<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="pojo.*,dao.*,Service.*,Servlet.*,java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
	request.setCharacterEncoding("utf-8");
	Book p =(Book)session.getAttribute("P");
	int id=p.getId();
%>
<form action="<%=request.getContextPath() %>/BookServlet">
<input type="hidden" name="method" value="update"/>
序号：<input type="text" name="id" value="<%=id %>"><br/>
著作名称：<input type="text" name="bname" value=<%=p.getBname()%>><br/>
所属单位：<input type="text" name="unit" value=<%=p.getUnit()%>><br/>
参编作者：<input type="text" name="author" value=<%=p.getAuthor()%>><br/>
出版时间：<input type="text" name="annual" value=<%=p.getAnnual()%>><br/>
著作类别：<input type="text" name="categories" value=<%=p.getCategories()%>><br/>
出版地：<input type="text" name="published" value=<%=p.getPublished()%>><br/>
审核状态：<input type="text" name="state" value=<%=p.getState()%>><br/>
<button>提交</button>
</form>
</body>
</html>